class KeyValEntity {
  String key;
  String val;

  KeyValEntity({this.key, this.val});

  KeyValEntity.fromJson(Map<String, dynamic> json) {
    key = json['key'];
    val = json['val'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['key'] = this.key;
    data['val'] = this.val;
    return data;
  }
}
